﻿<%@ Page Title="" Language="C#" MasterPageFile="~/HM.Master" AutoEventWireup="true" CodeBehind="ConfigHM.aspx.cs" Inherits="goMatic.ConfigHM" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <table style="width: 500px">
        <tr>
            <td colspan="2">Homematic einrichten:</td>
        </tr>
        <tr>
            <td>externe IP:
            </td>
            <td>
                <asp:TextBox ID="tbExternalIP" runat="server" Width="150px"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="tbExternalIP" ErrorMessage="Required !" ForeColor="Red"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td>SSL Verwenden:
            </td>
            <td>
                <asp:CheckBox ID="cbSSL" runat="server" CausesValidation="True" Checked="True" />
            </td>
        </tr>
        <tr>
            <td>TCP Port:
            </td>
            <td>
                <asp:TextBox ID="tbPort" runat="server" Width="50px" CausesValidation="True"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="tbPort" ErrorMessage="Required !" ForeColor="Red"></asp:RequiredFieldValidator>
                *)Port 80 oder 443(SSL) der CCU.
            </td>
        </tr>
        <tr>
            <td>Benutzer:
            </td>
            <td>
                <asp:TextBox ID="tbAccount" runat="server" Width="150px" CausesValidation="True"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="tbAccount" ErrorMessage="Required !" ForeColor="Red"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td>Passwort:
            </td>
            <td>
                <asp:TextBox ID="tbPassword" runat="server" Width="150px" CausesValidation="True" TextMode="Password"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="tbPassword" ErrorMessage="Required !" ForeColor="Red"></asp:RequiredFieldValidator>
            </td>
        </tr>
    </table>
    <br />
    <hr />
    <asp:Button ID="btSave" runat="server" Text="Speichern" OnClick="btSave_Click" />
</asp:Content>
